<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/jsp/sys/css.jsp"%>
<% String type = request.getParameter("type"); %>
<html>
<head>
</head>
<body class="childrenBody">
<style>
    .layui-form-label{
       width: 120px!important;
    }
</style>
<div style="margin:0px; background-color: white; margin:0 10px;" class="search">
    <form class="layui-form layui-form-pane" action="" id="azdbqryForm">
        <div class="layui-tab layui-tab-card">
            <div class="layui-form-item">
        		<div class="layui-inline">
                    <label class="layui-form-label">名称：</label>
                    <div class="layui-input-inline" style="width: 145px;">
                        <input type="text" placeholder="请输入名称" class="layui-input search_input" name="s_ghName" id="s_ghName" maxlength="50">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">年份：</label>
                    <div class="layui-input-inline" style="width: 145px;">
                        <input type="text" placeholder="请输入名称" class="layui-input search_input" name="s_ghGxdate" id="s_ghGxdate" maxlength="50">
                    </div>
                </div>
		        <div class="layui-inline">
					<label class="layui-form-label" style="width: 120px;">发布状态：</label>
					<div class="layui-input-inline" style="width: 145px;">
						<select name="s_ghStatus" id="s_ghStatus">
							<option value="">--请选择--</option>
							<option value="1">已发布</option>
							<option value="0">未发布</option>
						</select>
					</div>
				</div>
            </div>
            <!-- 按钮组 -->
            <div class="layui-form-item large searchBtns">
                <div class="layui-btn-group">
                    <a class="layui-btn onQuery">查询</a>
                    <button type="reset" class="layui-btn">重置</button>
                </div>
            </div>
        </div>
    </form>

    <table lay-data="{url:'${pageContext.request.contextPath}/service/jdghgl/jdghgl?s_ghType=<%=type %>',page:true}"
           class="layui-table" lay-filter="modelInfo" id="modelInfo">
        <thead>
       		<tr>
	            <th lay-data="{type:'numbers'}">序号</th>
	            <th lay-data="{width:550,field:'ghName',align:'center'}">名称</th>
	            <th lay-data="{field:'ghGxdate',align:'center', sort: true,templet:'Date:yyyy-MM-dd'}">更新时间</th>
	            <th lay-data="{field:'ghType',align:'center'}">类型</th>
	            <th lay-data="{field:'ghStatus',align:'center'}">状态</th>
	            <th lay-data="{width:250,align:'center',toolbar: '#operator_bar', fixed: 'right'}">操作</th>
	        </tr>
        </thead>
    </table>
</div>
<script type="text/html" id="operator_bar">
    <a class="see" lay-event="view">查看</a>
</script>
</body>
<script type="text/javascript" src="${pageContext.request.contextPath}/modules/jdghgl/jdghgl/ctrl/jdghgl.js"></script>
<script>
	var basePath= "${pageContext.request.contextPath}";
</script>
</html>
